<?php
    function __autoload($class_name)
	{
		include_once('../classes/'.strtolower($class_name).'.php');
	}
    
    $MaLoaiSanPhamCap3 = $_POST['MaLoaiSanPhamCap3'];
    
    $loaisanphamc3 = new loaisanphamc3bs();
    $loaisanphamc3->MaLoaiSanPhamCap3 = $MaLoaiSanPhamCap3;
    
    if($loaisanphamc3->delete())
        echo "yes";
    else
        echo "no";
?>